package com.example.sql_2_code_demo;

import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.ArgumentsProvider;

import java.util.stream.Stream;

/**
 * @author luo
 * @since 2022/10/11 10:21
 */
public class One2ThreeArgumentsProvider implements ArgumentsProvider {
    @Override
    public Stream<? extends Arguments> provideArguments(ExtensionContext context) throws Exception {
        Arguments args = ()->{
          return new Object[]{1,2,3};
        };
        return Stream.of(args);
    }
}
